<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>成功案例</title>
<title>heder_nav-menu</title>
<link rel="stylesheet" type="text/css" href="/default/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="/default/css/reset.css" />
<link rel="stylesheet" type="text/css" href="/default/css/common.css" />
<link rel="stylesheet" type="text/css" href="/default/css/heder_nav-menu.css"/>
<link rel="stylesheet" type="text/css" href="/default/css/successful_case.css"/>
	<style>
		.header_title p a.active{
			color: #f00;
		}
		.pagination>li>a{
			color: #428bca;
			text-decoration: none;
		}
	</style>
</head>

<body>
	
{{ include 'default/public/header-nav.html' }}

<div id="header_nav-wrapper">
    <div class="header_nav">
    	<h2>成功案例 &#160; <span>让品牌与您同在</span></h2>
    
    
    </div>



</div>

<div id="header_title-wrapper">

    <div class="header_title clear">
		<p >
			{{ each cateList }}
			<a {{ if cid && cid == $value._id }} class="active" {{ /if }} href="/case?cid={{@ $value._id }}">{{ $value.title }}</a>
			{{ /each }}
		</p>
    </div>


</div>


<div id="main_wrapper">

    
    <div class="main">
	    <ul class="clear">
			{{ each articleList }}
			<li>
				<a href="/content/{{@ $value._id }}">
					<img src="{{ $value.img_url }}" />
				</a>
				<p>{{ $value.title }}</p>
			</li>
			{{ /each }}
	    </ul>

		<!-- 分页 -->
		<div id="page" class="pull-right pagination"></div>

		<div class="clearfix"></div>
    </div>

</div>



<div id="footer-wrapper">
            <div class="footer-inner">
                <p>
                    <a href="#">网站首页</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">关于我们</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">产品展示</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">客户案例</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">新闻资讯</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">帮助中心</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">解决方案</a>&nbsp;&nbsp;|&nbsp;
                    <a href="#">联系我们</a>&nbsp;&nbsp;&nbsp;&nbsp;
                </p>
                <p>Copyright © 2002-2015上海机械设备服务有限公司 版权所有 Power by DedeCms</p>
                <p>电话：15918779820 E-mail：89898981@qq.com 地址：上海市沙河广园东路1858新天地服装城</p>
            </div>
</div>




<script src="/default/js/jquery-2.0.3.min.js"></script>
<script src="/default/js/jqPaginator.js"></script>
<script>
	$(function(){
		$('#page').jqPaginator({
			totalPages: {{ totalPages }},
		visiblePages: 10,
			currentPage: {{ pageIndex }},
		onPageChange: function(num, type){
			$('#text').html('当前第' + num + '页');
			if(type != 'init'){
				{{ if cid }}
				location.href = '/case?page=' + num + '&size=10';
				{{ else}}
				location.href = '/case?cid={{cid}}&page=' + num + '&size=10';
				{{ /if }}
				}
				}
			});
	});
</script>
</body>
</html>
